#include "BTEServer.h"
#include <QtWidgets/QApplication>
#include "CoreDump.h"
#include "LogManager.h"

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);	

	CoreDump::init();
	LogManager::instance()->init(QApplication::applicationDirPath() + "/log");
	NetPackRegist();
	PackDefineInit();

	BTEServer w;
	w.setWindowFlags(Qt::WindowMaximizeButtonHint | Qt::WindowCloseButtonHint | Qt::WindowMinimizeButtonHint);
	w.showMaximized();

	return a.exec();
}
